package com.example.demo;

import com.example.demo.domin.entity.DepartMent;
import com.example.demo.domin.entity.Role;
import com.example.demo.domin.entity.User;
import com.example.demo.domin.repository.DepartMentRepository;
import com.example.demo.domin.repository.RoleRepository;
import com.example.demo.domin.repository.UserRepository;
import com.example.demo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.util.Assert;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;
import java.util.List;

@SpringBootApplication
@RestController
public class DemoApplication {
	public static void main(String[] args) {
		SpringApplication.run(DemoApplication.class, args);
	}


}
